package com.twu.biblioteca;

import java.util.HashMap;

public class BibliotecaApp {

    public static void main(String[] args) {
        HashMap<String, User> users = new HashMap<String, User>();
        users.put("123-4567", new User("123-4567", "password", "Eli", "abc.defghij@klmno.pqr", "1234 567 890"));
        UserManager userManager = new UserManager(users, null);

        HashMap<String, Book> bookShelf = new HashMap<String, Book>();
        HashMap<String, Book> checkedOutBooks = new HashMap<String, Book>();
        HashMap<String, Movie> moviesShelf = new HashMap<String, Movie>();
        HashMap<String, Movie> checkedOutMovies = new HashMap<String, Movie>();
        Library library = new Library(bookShelf, checkedOutBooks, moviesShelf, checkedOutMovies);

        Librarian librarian = new Librarian(userManager, library);
        librarian.mainMenu();
    }
}
